package com.yerbamateprimer.round.state.exit;


/**
 * This enumeration is useful
 * to implement the cause of 
 * exit from the state.
 * 
 * @author Matias Liwski
 * @version 1.0
 */
public enum StateExitCause{
	BUILD_DONE,		//The primer send a done command at build state.
	PRIME_DONE,		//The primer send a done command at prime state.
	DRINK_DONE,		//The primer send a done command at drink state.
	REST_DONE,		//The primer send a done command at rest state.
	PAUSE_DONE,		//The primer send a done command at pause state.

	COMMON_TIMEOUT,	//A timeout detected at some state different than rest.
	REST_TIMEOUT, 	//A timeout detected at rest state.
	
	DEAD, 			//Ther's no more drinkers at the round.
	
	SKIP_DRINKER,	//The primer or the current drinker send a "skip the current drinker" command.
	;
}